import React from "react";
import ReactDOM from "react-dom/client"
import store from "./redux/store";
import App from "./App";

const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(
    <React.StrictMode>
        <App/>
    </React.StrictMode>
)
store.subscribe(()=>{
    root.render(
        <React.StrictMode>
            <App/>
        </React.StrictMode>
    )
})